package cate.common.table.position;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("阵法升级")
public class PositionDevRow extends ERow {

    @NoteField("阵法ID")
    public int tid;

    @NoteField("等级")
    public int level;

    @NoteField("升级消耗")
    public String lvlUpCost;

    @NoteField("属性加成")
    public String attrStr;

    @NoteField("重置返还")
    public String backStr;

    @NoteField("阵位点数")
    public int posAttrPoint;


    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID",0);
        this.tid = xrw.getInteger("阵法ID",0);
        this.level = xrw.getInteger("等级", 0);
        this.lvlUpCost = xrw.getString("升级消耗");
        this.attrStr = xrw.getString("属性加成");
        this.backStr = xrw.getString("重置返还");
        this.posAttrPoint = xrw.getInteger("阵位点数", 0);
    }


}
